package com.muse.designpatterns.singleton;


/**
 * 枚举类
 */
public enum SingletonDemo5 {
    //枚举元素本身就是单例
    INSTANCE;

    public void doSomeing(){
        System.out.println("doSomeing");
    }

    
}
